/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author ...
* @date 2020-11-08
**/
@Data
public class ReaderDto implements Serializable {

    /** 读者编号，自增长
 */
    private Integer readerId;

    /** 用户姓名
 */
    private String readerName;

    /** 昵称 唯一
 */
    private String nickname;

    /** 密码 md5加密
 */
    private String password;

    /** 头像地址
 */
    private String avatar;

    /** 身份证号 唯一
 */
    private String identityCard;

    /** 电话号码 唯一
 */
    private String phoneNum;

    /** 邮箱
 */
    private String email;

    /** 职业
 */
    private String occupation;

    /** 职称
 */
    private String professional;

    /** 学历
 */
    private String education;

    /** 读者等级 对应r_rank表
 */
    private String level;

    /** 签名
 */
    private String signature;

    private String qqId;

    private String wxId;

    private String openId;

    /** 是否被封号,1被封号,0解封
 */
    private Boolean isBaned;

    /** 物流偏好 快递公司编码
 */
    private String shippercode;

    /** 生日 */
    private Timestamp birthday;

    /** 0:男 1:女 默认0
 */
    private Boolean sex;

    /** 是否隐藏手机号码,1被隐藏,0不隐藏
 */
    private Boolean phoneIsHid;

    /** 是否启用 1启用 0未启用 */
    private Boolean isEnable;
}